<#ftl encoding="UTF-8" />
            <div id="panelTop" style="position:relative; top:3px; padding:4px 0 0 8px; height:28px; width:auto;">
                <button type="button" name="_ButBack" id="ButBack" class="act__button" onclick="_InstancePageHeader.DoBack();"><i class="fa-all fa-1x fa-reply" style="margin-right:3px;"></i>返回</button>
                <button type="button" name="_ButCheck" id="ButCheck" class="act__button act__check" onclick="_InstancePageHeader.DoCheck($(this));"><i class="fa-all fa-1x fa-eye" style="margin-right:3px;"></i>审核</button>
                <button type="button" name="_ButUnCheck" id="ButUnCheck" class="act__button act__uncheck" onclick="_InstancePageHeader.Uncheck($(this));"><i class="fa-all fa-1x fa-eraser" style="margin-right:3px;"></i>反审</button>
            </div>
            <div id="rec_position" style="position:absolute; display:inline-block; right:80px; top:14px; width:auto;">
                <span id="rec_cur_row">15</span> / <span id="rec_total_rows">15</span>
            </div>
            <div class="panel__toolbar" style="position:absolute; display:inline-block; top:8px; right:8px;">
                <div class="panel__toolbar_item">
                    <button type="button" class="toolbar__button" name="_ButPrev" id="ButPrev" title="编辑上一条" onclick="_InstancePageHeader.PrevRecord();"><i class="fa-all fa-1x fa-angle-left" style="margin-right:3px;"></i></button>
                </div>
                <div class="panel__toolbar_item" disabled="disabled">
                    <button type="button" class="toolbar__button" name="_ButNext" id="ButNext" title="编辑下一条" onclick="_InstancePageHeader.NextRecord();"><i class="fa-all fa-1x fa-angle-right" style="margin-right:3px;"></i></button>
                </div>
            </div>

            <div id="slave_area" style="position:relative; top:8px; width:100%;">
                <ul id="tabPanelHeader" class="tabstrip" style="top:0; width:100%;">
                    <li id="menu_01" class="tabInactive" style="margin-left:8px;">
                        <div>
                            <span class="tab_stretch"><span class="tabtext"><abbr class="ls_01">客户信息</abbr></span></span>
                        </div>
                    </li>
                    <li id="menu_02">
                        <div>
                            <span class="tab_stretch"><span class="tabtext"><abbr class="ls_02">客户尺码标号</abbr></span></span>
                        </div>
                    </li>
                </ul>
                <div id="tabPanelContent" class="tab__wrapper">
                    <!-- 客户信息-->
                    <div id="tabWrapper_01" class="tab__content">
                        <form id="form_data" class="form__data_content">
                            <div id="btnPanel01" style="position:relative; top:0; height:50px; padding-top:12px; padding-left:8px; border-bottom:1px solid #ddd; background-color:#fff;">
                                <button type="button" name="_ButNew" id="ButNew" class="act__button act__new" onclick="_InstancePageHeader.New();"><i class="fa-all fa-1x fa-plus"></i>增加</button>
                                <button type="button" name="_ButSave" id="ButSave" class="act__button act__save" onclick="_InstancePageHeader.Save(1);"><i class="fa-all fa-1x fa-save"></i>保存</button>
                            </div>
                            <div class="data__table_wrapper">
                                <table class="data__table">
                                    <colgroup>
                                        <col style="width: 7%;" />
                                        <col style="width: 17%;" />
                                        <col style="width: 7%;" />
                                        <col style="width: 17%;" />
                                        <col style="width: 7%;" />
                                        <col style="width: 17%;" />
                                        <col style="width: 7%;" />
                                        <col />
                                    </colgroup>
                                    <tbody>
                                        <tr>
                                            <td class="td__label">
                                                <label for="CustomerNo">客户编号<em>★</em></label>
                                            </td>
                                            <td>
                                                <input type="text" id="CustomerNo" name="_CustomerNo" tabindex="1" style="width:95%;" />
                                            </td>
                                            <td class="td__label">
                                                <label for="CustomerName">客户名称<em>★</em></label>
                                            </td>
                                            <td colspan="3">
                                                <input type="text" id="CustomerName" name="_CustomerName" tabindex="2" style="width:98%;" />
                                            </td>
                                            <td class="td__label">
                                                <label for="ShortName">客户简称<em>★</em></label>
                                            </td>
                                            <td>
                                                <input type="text" id="ShortName" name="_ShortName" tabindex="3" style="width:95%;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="td__label">
                                                <label for="Country">所属国家</label>
                                            </td>
                                            <td>
                                                <input type="text" id="Country" name="_Country" tabindex="4" style="width:95%;" />
                                            </td>
                                            <td class="td__label">
                                                <label for="Province">省份</label>
                                            </td>
                                            <td>
                                                <input type="text" id="Province" name="_Province" tabindex="5" style="width:95%;" />
                                            </td>
                                            <td class="td__label">
                                                <label for="Attn">联系人</label>
                                            </td>
                                            <td>
                                                <input type="text" id="Attn" name="_Attn" tabindex="6" style="width:95%;" />
                                            </td>
                                            <td class="td__label">
                                                <label for="AttnJob">联系人职务</label>
                                            </td>
                                            <td>
                                                <input type="text" id="AttnJob" name="_AttnJob" tabindex="7" style="width:95%;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="td__label">
                                                <label for="AttnTel">联系电话</label>
                                            </td>
                                            <td>
                                                <input type="text" id="AttnTel" name="_AttnTel" tabindex="8" style="width:95%;" />
                                            </td>
                                            <td class="td__label">
                                                <label for="AttnMobil">联系人手机</label>
                                            </td>
                                            <td>
                                                <input type="text" id="AttnMobil" name="_AttnMobil" tabindex="9" style="width:95%;" />
                                            </td>
                                            <td class="td__label">
                                                <label for="Fax">传真<em>★</em></label>
                                            </td>
                                            <td>
                                                <input type="text" id="Fax" name="_Fax" tabindex="10" style="width:95%;" />
                                            </td>
                                           <td colspan="2"></td>
                                        </tr>
                                        <tr>
                                            <td class="td__label">
                                                <label for="Email">Email</label>
                                            </td>
                                            <td colspan="3">
                                                <input type="text" id="Email" name="_Email" tabindex="11" style="width:98%;" />
                                            </td>
                                            <td class="td__label">
                                                <label for="Address">地址</label>
                                            </td>
                                            <td colspan="3">
                                                <input type="text" id="Address" name="_Address" tabindex="12" style="width:98%;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="td__label">
                                                <label for="OpenAccountBank">开户行</label>
                                            </td>
                                            <td colspan="3">
                                                <input type="text" id="OpenAccountBank" name="_OpenAccountBank" tabindex="13" style="width:98%;"/>
                                            </td>
                                            <td class="td__label">
                                                <label for="BankAccount">银行账号</label>
                                            </td>
                                            <td colspan="3">
                                                <input type="text" id="BankAccount" name="_BankAccount" tabindex="14" style="width:98%;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="td__label">
                                                <label for="TaxId">税务登记号</label>
                                            </td>
                                            <td>
                                                <input type="text" id="TaxId" name="_TaxId" tabindex="15" />
                                            </td>
                                            <td class="td__label">
                                                <label for="TaxRateName">税率(%)<em>★</em></label>
                                            </td>
                                            <td>
                                                <input type="hidden" id="TaxRateId" name="_TaxRateId" value="" />
                                                <div id="ChoiceTaxRate" class="form_input_dropdown_wrapper" onclick="_InstancePageHeader.DoChoiceTaxRate();" style="width:100px;">
                                                    <input type="text" id="TaxRateName" name="_TaxRateName" class="select-dropdown with_select_flag" readonly="readonly" tabindex="16" />
                                                </div>
                                            </td>
                                            <td class="td__label">
                                                <label for="SettlementModeId">结算方式<em>★</em></label>
                                            </td>
                                            <td colspan="3">
                                                <input type="hidden" id="SettlementModeId" name="_SettlementModeId" value="" />
                                                <div id="ChoiceSettlementMode" class="form_input_dropdown_wrapper" onclick="_InstancePageHeader.DoChoiceSettlementMode();" style="width:98%;">
                                                    <input type="text" id="SettlementModeName" name="_SettlementModeName" class="select-dropdown with_select_flag" readonly="readonly" tabindex="17" />
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="td__label">
                                                <label for="FreightForwarding">货代客户</label>
                                            </td>
                                            <td colspan="3">
                                                <input type="text" id="FreightForwarding" name="_FreightForwarding" tabindex="18" style="width:98%;"/>
                                            </td>
                                            <td class="td__label">
                                                <label for="DstinationPort">到货港口</label>
                                            </td>
                                            <td colspan="3">
                                                <input type="text" id="DstinationPort" name="_DstinationPort" tabindex="19" style="width:98%;"/>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="td__label" style="vertical-align:top; padding-top:8px;">
                                                <label for="Description">备注</label>
                                            </td>
                                            <td colspan="7">
                                                <textarea class="area" id="Description" name="_Description" rows="4" tabindex="21" style="width:99%; height:70px; resize:none;"></textarea>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="td__label" style="height:28px; line-height:28px;">
                                                <label for="CatalogueName">所属目录<em>★</em></label>
                                            </td>
                                            <td colspan="7">
                                                <input type="hidden" id="CatalogueId" name="_CatalogueId" />
                                                <div id="ChoiceCatalogue" class="form_input_dropdown_wrapper" onclick="_InstancePageHeader.DoChoiceCatalogue();" style="width:100%;">
                                                    <input type="text" id="CatalogueName" name="_CatalogueName" class="select-dropdown with_select_flag" readonly="readonly" style="width:99%;" tabindex="22" />
                                                </div>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </form>
                    </div>
                    <!-- 客户尺码标号-->
                    <div id="tabWrapper_04" class="tab__content" style="display:none;">
                        <div id="btnPanel04" style="padding-top:12px; padding-left:8px; height:50px;">
                            <button type="button" id="ButSaveSizeLines" class="act__button act__save" onclick="_InstancePageSizeLable.SaveLines($(this));"><i class="fa-all fa-1x fa-save" style="margin-right:5px;"></i>保存</button>
                            <button type="button" name="_ButDeleteLines" id="ButDeleteLines" class="act__button act__save" onclick="_InstancePageSizeLable.BatchDeleteLines($(this));" style="margin-right:10px;"><i class="fa-all fa-1x fa-minus" style="margin-right:5px;"></i>批量删除</button>
                            <button type="button" name="_ButImport" id="ButImport" class="act__button act__new" onclick="_InstancePageSizeLable.ImportFromSize($(this));">引入成品尺码</button>
                            <button type="button" name="_ButCopy" id="ButCopy" class="act__button act__new" onclick="_InstancePageSizeLable.CopyFromOther($(this));">拷贝其他客户尺码标号</button>
                        </div>
                        <div id="div04" style="position:relative; margin:0 8px;">
                            <table id="tabHead04" class="layout display">
                                <colgroup>
                                    <col style="width: 27px;" />
                                    <col style="width: 36px;" />
                                    <col style="width: 60px;" />
                                    <col style="width: 100px;" />
                                    <col />
                                    <col style="width: 18px;" />
                                </colgroup>
                                <thead>
                                    <tr>
                                        <th class="cell_choice">
                                            <label class="btn" for="check_all_for_size"><input id="check_all_for_size" type="checkbox" onclick="_InstancePageSizeLable.DoCheckAll($(this),'_check_row');" /><i></i><span></span></label>
                                        </th>
                                        <th style="text-align:center;">删除</th>
                                        <th>尺码名称</th>
                                        <th>尺码标号</th>
                                        <th>备注</th>
                                        <th></th>
                                    </tr>
                                </thead>
                            </table>
                            <div id="divD4" class="grid__data_wrapper" style="border-left:none; overflow-y:scroll;">
                                <table id="tabData04" class="responsive__table" style="margin-top:-1px;">
                                    <colgroup>
                                        <col style="width: 27px;" />                                   
                                        <col style="width: 36px;" />
                                        <col style="width: 60px;" />
                                        <col style="width: 100px;" />
                                        <col />
                                    </colgroup>
                                    <tbody></tbody>
                                </table>
                            </div>
                            <div id="wrapper__navbar_02" class="panel__nav_strip">
                                    <div style="position:relative; display:inline-block; padding:0px; height:30px; line-height:30px;">
                                        <span id="loading__indicator_02"><i class="fa fa-refresh fa-fw"></i></span>
                                        显示 <select id="page-size_02" onchange="_InstancePageSizeLable.SetPageSize()">
                                            <option value="15">15</option>
                                            <option value="20">20</option>
                                            <option value="25">25</option>
                                        </select> 条 / 页
                                        <span id="page-first_02" class="p_first arrow page-first" data-action="first">首页</span>
                                        <span id="page-previous_02" class="p_previous arrow page-previous" data-action="previous">上一页</span>
                                        <abbr id="page_indicator_block_02" class="page_indicator_block" _msh_page="1" style="margin:0 10px; width:40px;">1 of 7</abbr>
                                        <span id="page-next_02" class="p_next arrow page-next" data-action="next">下一页</span>
                                        <span id="page-last_02" class="p_last arrow page-last" data-action="last">尾页</span>
                                        <input type="text" id="curr-page_02" class="curr-page" style="margin-left:15px; width:36px;" />
                                        <input type="button" name="btn_goto" id="but_goto_02" value="跳转" class="act__button page-goto" onclick="" />
                                    </div>
                                </div>
                        </div>
                </div>
            </div>
            <input id="Action" type="hidden" value="<#if action?exists>${action}<#else>0</#if>" />
            <input id="CustomerId" type="hidden" value="<#if customerId?exists>${customerId}<#else>0</#if>" />
            <input id="PictureUrl" type="hidden" value="<#if strImageUrl?exists>${strImageUrl}<#else>0</#if>" />
            <input id="NodeId" type="hidden" value="<#if nodeId?exists>${nodeId}<#else>0</#if>" />
            <input id="NodeText" type="hidden" value="<#if nodeText?exists>${nodeText}</#if>" />
